package day10.two02;

public class text {
    public static void main(String[] args) {
        jsstudent js = new jsstudent();
        adstudent ad = new adstudent();

        js.setName("jane");
        js.setAge(19);

        ad.setName("tom");
        ad.setAge(20);

        System.out.println(js.getName()+" "+js.getAge());
        js.study();
        System.out.println(ad.getName()+" "+ad.getAge());
        ad.study();
    }
}
